TQATextureDetach
A drawing engine may define a method to detach a texture map. This method is optional and must be supported only by drawing engines that support texture mapping.
typedef TQAError (*TQATextureDetach) (TQATexture *texture);
texture
- A texture map.
DESCRIPTION
YourTQATextureDetach
function is called whenever an application callsQATextureDetach
. Your function should, if necessary, load the texture specified by thetexture
parameter into memory on the device associated with your drawing engine (so that the caller can release the memory occupied by the texture). YourTQATextureDetach
function should not return until the texture has been completely loaded.